
<%@page import="java.util.List"%>
<%@page import="com.pojos.ReplacePersons"%>
<%@page import="java.util.Iterator"%>
<%@page import="com.pojos.AddProblems"%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Consultant</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="mainPan">
  <div id="leftPan">
  	<div id="leftTopPan">
		<a href="index.html"><img src="images/logo.gif" title="Consultant" alt="Consultant" width="160" height="39" border="0" /></a> </div>
	<ul>
			<li class=" "></li>
			<li><html:link  action="/ViewProblems">View Problems </html:link></li>
			<li><html:link  action="/ViewHODdetails">HOD Details</html:link></li>
			<li><html:link  action="/ViewLectures1">Lectures</html:link></li>
			<li><html:link  action="/SendNotices">Send Notices</html:link></li>
			<li><html:link  action="/Inbox1">Inbox</html:link></li>
			<li><html:link  action="/AddBran">Add Branches</html:link></li>
		<li><html:link  action="/ReplacePersons">Replace HODS or AO or Acadamic Session</html:link></li>
		<li><html:link href="Logout.jsp">Logout</html:link></li>
		</ul>
		
		<h2><br /></h2>
		<!--ul class="linkone">
			<li><a href="#">pit tellus, at</a></li>
			<li><a href="#">iaculis ante</a></li>
			<li><a href="#">ante eget</a></li>
			<li><a href="#">massa. Vestibu</a></li>
			<li><a href="#">lum facilisis.</a></li>
			<li><a href="#">Quisque vel est.</a></li>
			<li><a href="#">Donec ante</a></li>
			<li><a href="#">velit, eleifend</a></li>
			<li><a href="#">ucont cont,</a></li>
			<li><a href="#">ucont cont,</a></li>
			<li><a href="#">rhoncus</a></li>
		</ul-->
  </div>
  
  <div id="rightPan"> 
  	<h1><font face="Monotype Corsiva">WelCome</font><br /><font face="Monotype Corsiva"><span>To<br />    
    Our Site</span></font> </h1> 
	<h3>Unsolved Problems of Students From Last 15 Days<br /></h3><br />
<html:form action="FromAdminReply">	

<table border=1 align="center">
<tr><td></td><td>Student Id</td><td>Branch</td><td>Semister</td><td>Problem</td><td>Status</td></tr>

<%List list=(List)request.getAttribute("probdetails");
AddProblems prob=new AddProblems();
Iterator itr=list.iterator();


while(itr.hasNext())
{
prob=(AddProblems)itr.next();
 %>
 <tr>
 <td><html:radio property="fromid"  value="<%=prob.getStuid() %>"></html:radio></td>
<td><%=prob.getStuid() %></td>
<td><%=prob.getBranch() %></td>
<td><%=prob.getSem() %></td>
<td><%=prob.getProblem() %></td>
<td><%=prob.getStatus() %>&nbsp;at &nbsp;<%=prob.getReqstatus() %>&nbsp;since &nbsp;<%=prob.getDate1() %></td>

</tr>
<%} %>

<tr><td><html:submit value="Reply"></html:submit></td></tr>
</table>
	
</html:form>	
	
	
	<br /><div id="rightaddPan">
<logic:notEmpty name="msg">
<font size="4"><bean:write name="msg"/></font>

</logic:notEmpty>

<br /><br /> 
	</div><span class="boldtext"></span><br /></div>
</div><div id="footermainPan"><div id="footerPan">s<br /><br /></div>
</div>
</body>
</html>
